pull: Optimize file:/// URIs to skip libsoup and hardlink if possible
authorColin Walters <walters@verbum.org>
Fri, 6 Feb 2015 15:02:57 +0000 (10:02 -0500)
committerColin Walters <walters@verbum.org>
Fri, 6 Feb 2015 15:02:57 +0000 (10:02 -0500)
commitab3bf493dd9fa5cd6abba299d9eea182d9d17d96
tree3a41437de69f5b6ad8f1a89e90dcf9e9169dfd51
parentbe4ad54800514af60b2ed8d4ad7f1b4774525493
pull: Optimize file:/// URIs to skip libsoup and hardlink if possible

It's always been suboptimal to have both pull and pull-local; as we go
beyond the raw object data into things like deltas and summary files,
the logic to perform e.g. mirroring should only be in one place.

This will be used by Pulp's OSTree content plugin at least to perform
promotions.
src/libostree/ostree-repo-pull.c
tests/pull-test.sh